﻿ function Save()
{
$get("btnSave").disabled = true;
    showProgressBar(true);
 var returnTagValue="";
  for(var   i=0;i<document.getElementsByName("deac_reason").length;i++)   
     {       
             
            if(document.getElementsByName("deac_reason")[i].checked)
            { 
               if(i==4)
              {
                $('other').value=$("txtother").value;
              }
              returnTagValue=document.getElementsByName("deac_reason")[i].value; 
            }
            
              
      }
      if(returnTagValue=="")
      {
      $('MessagesBox').style.display="";
      $get("btnSave").disabled = false;
      showProgressBar(false);
        return;

      }
      if(memberno=="")
      {
        return;
                $get("btnSave").disabled = false;
    showProgressBar(false);
      }
        $("SaveFlag").value = "1";
        $get("btnSave").disabled = false;
    showProgressBar(false);
        $("Form1").submit();

}
function showaci(a)
{
   for(var i=1;i<5;i++) 
   {
     $('aci'+i).style.display="none";
   }
   $('aci'+a).style.display="";
}